<template>
  <div class="nav">
      <p class="p1 iconfont icon-sousuo">
        <slot name="slot1"></slot>
      </p>
      <p class="p2 iconfont icon-wenhai-sousuo-qiehuanjiubanben">
        <slot name="slot2"></slot>
      </p>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
  .nav {
  display: flex;
  justify-content: center;
  height: 0.7rem;
  width: 100%;
  margin: 0 auto;
  position: fixed;
  top: 0;
  background: white;
  align-items: center;
  font-size: 0.14rem;
  color: #c6c6c6;
  z-index: 1;
  
}
.nav .p1 {
  height: 0.5rem;
  background: #f8f8f8;
  width: 2rem;
  border-radius: 0.25rem 0 0 0.25rem;
  line-height: 0.5rem;
  box-sizing: border-box;
  padding-left: .2rem;
  font-size: .14rem;
}
.nav .p2 {
  height: 0.5rem;
  width: 1rem;
  background: #f8f8f8;
  text-align: center;
  border-radius: 0 0.25rem 0.25rem 0;
  line-height: 0.5rem;
   font-size: .14rem;
}
</style>